package intranet.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * @author Robin TROADEC
 * La fonction asyncrone de templatesTabFunc
 */
public interface TemplatesTabFuncAsync {

	
	void saveDoc(String name, String textHtml, long date, String path, AsyncCallback<String> callback)throws IllegalArgumentException;

	void delete(String path, AsyncCallback<Boolean> callback);
	
	void deletePdf(String path, AsyncCallback<Boolean> callback);

	void load(String path, AsyncCallback<String> callback);

	void toPdf(String name, String textHtml, long date, String path, AsyncCallback<String> callback);
	
}
